package tech.wowo.Service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import tech.wowo.Mapper.UserMapper;
import tech.wowo.pojo.User;

/**
 * @Author: ShanYuqing
 * @Version: v1.0
 */
@Service
public interface UserService {
//    @Autowired
//    private UserMapper userMapper;//编译器报错可以忽视

    public User queryById(Integer id);

//    @Transactional
//    public void deleteById(Long id) {
//        this.userMapper.deleteByPrimaryKey(id);
//    }
}
